package rest.jbpm.svg;

/**
 * Created by IntelliJ IDEA.
 * User: xEviL
 * Date: 26.10.11
 * Time: 15:06
 * To change this template use File | Settings | File Templates.
 */
class JbpmJoinForkElement extends JbpmRhombElement{
    public JbpmJoinForkElement(String _name, Integer _x, Integer _y, Integer _w, Integer _h){
        super(_name,_x,_y,_w,_h);
    }

    public String draw(){//×
        double k = (double)r / 24.0;
        return super.draw()+
        "<text x=\"" + (x + (w / 2)) + "\" y=\"" + (y + (h / 2)+1) + "\" font-family=\"sans-serif\" fill=\"#9f951c\" font-size=\""+(50*k)+"px\" font-weight=\"bold\" style=\"text-anchor:middle;dominant-baseline:central;\">+</text>";
    }
}
